<!DOCTYPE html>
<html>
<head>
  <title>预防针后台管理</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
  <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
  <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>
  <script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
</head>
<body style="background-color: rgb(128, 230, 128);">

<!-- 导航栏 -->
<nav class="navbar navbar-expand-md bg-dark navbar-dark fixed-top">
    <a class="navbar-brand" href="#">儿童预防针预约系统管理平台</a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
        <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="collapsibleNavbar">
        <ul class="navbar-nav">
            <!-- <li class="nav-item">
        <a class="nav-link" href="#">Link</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="#">Link</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="#">Link</a>
      </li>     -->
        </ul>
    </div>
</nav>
<div class="container" style="margin-top: 30vh;">
    
<div class="card" style="width: 30%;margin-left: 35%;">
    <div class="card-header">登录</div>
    <div class="card-body" >
        <form action="{:url('index/login')}" method="POST">
            <div class="form-group">
              <label for="phone">手机号:</label>
              <input type="number" class="form-control" id="phone" name="phone"  required>
            </div>
            <div class="form-group">
              <label for="pwd">密码:</label>
              <input type="password" class="form-control" id="pwd"  name="pw" required>
            </div>
            <div class="form-group">
                <label for="sel1">管理员类型:</label>
                <select class="form-control" name="id" id="sel1">
                  <option value="1">后台管理员</option>
                  <option value="2">卫生院管理员</option>
                </select>
                </div>
            <button type="submit" class="btn btn-primary" style="width: 100%;">登录</button>
          </form>
    </div> 
  </div>
</div>

</body>
</html>